//创建路由规则
import { createRouter, createWebHistory } from 'vue-router'
let router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      redirect: '/LoginView'
    },
    {
      path: '/LoginView',
      component: () => import('../views/LoginView.vue')
    }
  ]
})
//导出路由
export default router